package com.cn.kehong.domain;

import com.cn.kehong.utils.CommonUtil;
import com.google.common.collect.ImmutableMap;

import java.util.Date;
import java.util.List;
import java.util.Map;

public class DataSubmission {
    private String id;

    //1 运营 2 生产 3 仓储
    private String dataType;

    private String createUserId;

    private String createUserName;

    private String dataFillTime;

    private String status;

    private Date createTime;

    private Date updateTime;

    private String remark;

    private int count;


    private List<DataSubmissionCc> dataSubmissionCcs;

    private List<DataSubmissionSc> dataSubmissionScs;

    private List<DataSubmissionYy> dataSubmissionYys;
    private List<DataSubmissionKb> dataSubmissionKbs;

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id == null ? null : id.trim();
    }

    public String getDataType() {
        return dataType;
    }

    public void setDataType(String dataType) {
        this.dataType = dataType == null ? null : dataType.trim();
    }

    public String getCreateUserId() {
        return createUserId;
    }

    public void setCreateUserId(String createUserId) {
        this.createUserId = createUserId == null ? null : createUserId.trim();
    }

    public String getCreateUserName() {
        return createUserName;
    }

    public void setCreateUserName(String createUserName) {
        this.createUserName = createUserName == null ? null : createUserName.trim();
    }

    public String getDataFillTime() {
        return dataFillTime;
    }

    public void setDataFillTime(String dataFillTime) {
        this.dataFillTime = dataFillTime == null ? null : dataFillTime.trim();
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status == null ? null : status.trim();
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark == null ? null : remark.trim();
    }

    public int getCount() {
        return count;
    }

    public void setCount(int count) {
        this.count = count;
    }

    public List<DataSubmissionCc> getDataSubmissionCcs() {
        return dataSubmissionCcs;
    }

    public void setDataSubmissionCcs(List<DataSubmissionCc> dataSubmissionCcs) {
        this.dataSubmissionCcs = dataSubmissionCcs;
    }

    public List<DataSubmissionSc> getDataSubmissionScs() {
        return dataSubmissionScs;
    }

    public void setDataSubmissionScs(List<DataSubmissionSc> dataSubmissionScs) {
        this.dataSubmissionScs = dataSubmissionScs;
    }

    public List<DataSubmissionYy> getDataSubmissionYys() {
        return dataSubmissionYys;
    }

    public void setDataSubmissionYys(List<DataSubmissionYy> dataSubmissionYys) {
        this.dataSubmissionYys = dataSubmissionYys;
    }

    public List<DataSubmissionKb> getDataSubmissionKbs() {
        return dataSubmissionKbs;
    }

    public void setDataSubmissionKbs(List<DataSubmissionKb> dataSubmissionKbs) {
        this.dataSubmissionKbs = dataSubmissionKbs;
    }

    public String getCreateTimeFt(){
        String formatTime = CommonUtil.getStrTime(getCreateTime(),"yyyy-MM-dd HH:mm:ss");
        return formatTime;
    }

}